import java.util.Arrays;
import java.util.Scanner;

/**
 * @author: gao
 * @create-date: 2025/5/21 14:52
 */

public class Main {
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        while (in.hasNext()) {
            int[] nums = new int[3];
            for (int i = 0; i < 3; i++) {
                nums[i] = in.nextInt();
            }
            Arrays.sort(nums);
            System.out.println(nums[0] + " " + nums[1] + " " + nums[2]);
        }
    }
}